﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InnovTech.Util.Persistence.Database;

namespace NHibernate.MsSqlCe
{
    /// <summary>
    /// Represents the important infos to connect a MS-Sql-Ce database.
    /// </summary>
    public class NHibernateMsSqlCeDatabaseInfo : IDatabaseInfo
    {
        /// <summary>
        /// Gets or sets the path of a ms-sql-ce database.
        /// </summary>
        public string DatabasePath { get; set; }
        /// <summary>
        /// Gets or sets the value which indicates whether the content of the ms-sql-ce database should be encryted.
        /// </summary>
        public bool Encrypted { get; set; }
        /// <summary>
        /// Gets or sets the password to access the ms-sql-ce database.
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// Gets or sets the properties for NHibernate.
        /// </summary>
        public Dictionary<string, string> Properties { get; set; }
        /// <summary>
        /// Gets or sets the resources to build the access object of NHibernate.
        /// </summary>
        public Dictionary<string, IEnumerable<string>> Resources { get; set; }
    }
}
